package com.hs.srm.admin.modules.requisition.entity;

import com.hs.srm.base.common.base.CloneableEntity;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Setter
@Getter
@ToString
public class SamplePurchRequestModel implements Serializable, CloneableEntity<SamplePurchRequestModel> {
    private static final long serialVersionUID = 1L;

    public SamplePurchRequestModel() {
        super();
    }

    // 供应商ID集合
    private List<String> idList;

    // 请购单创建头文件
    private SamplePurchRequestHeaderEntity samplePurchRequestHeaderEntity;

    // 请购单行项目
    private SamplePurchRequestItemEntity samplePurchRequestItemEntity;

    // 请购单行项目List
    List<SamplePurchRequestItemEntity> nproPurchRequestItemlist = new ArrayList<SamplePurchRequestItemEntity>();

    @Override
    public SamplePurchRequestModel clone() {
        try {
            return (SamplePurchRequestModel) super.clone();
        } catch (CloneNotSupportedException ex) {
            // TODO Auto-generated catch block
            ex.printStackTrace();
        }
        return null;
    }
}
